package models

import (
	"gorm.io/gorm"
	"time"
)

//数据库表结构
type Community struct {
	gorm.Model
	CommunityName  string
	CommunityIntro string
}

//返回数据的结构
type ResponseCommunity struct {
	ID        int       `json:"id"`
	CreatedAt time.Time `json:"created_at"`
	//DeletedAt      interface{} `json:"deleted_at"`
	CommunityName  string `json:"community_name"`
	CommunityIntro string `json:"community_intro"`
}
